package com.demo.search.pojo;

import org.apache.solr.client.solrj.beans.Field;

public class Product {
    @Field
    private String id;

    /**
     * 型号名/类别名
     */
    @Field("name")
    private String name;

    /**
     * 类别ID
     */
    @Field("genericId")
    private String genericId;

    /**
     * 一级类别
     */
    @Field("firstGeneric")
    private String firstGeneric;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGenericId() {
        return genericId;
    }

    public void setGenericId(String genericId) {
        this.genericId = genericId;
    }

    public String getFirstGeneric() {
        return firstGeneric;
    }

    public void setFirstGeneric(String firstGeneric) {
        this.firstGeneric = firstGeneric;
    }
}
